﻿using Devonline.Core;

namespace Devonline.Identity.Admin.Models
{
    public class ResourceViewModel : IdentityViewModel
    {
        /// <summary>
        /// 资源标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 资源内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 上级组织
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 资源所有者编号
        /// </summary>
        public string OwnerId { get; set; }
        /// <summary>
        /// 资源类型 ResourceType 枚举类型的值
        /// </summary>
        public ResourceType ResourceType { get; set; }
        /// <summary>
        /// 资源所属类型 AssignType 枚举值
        /// </summary>
        public AssignType AssignType { get; set; }
    }
}
